<!--{include header.html}-->

<body>
<form id=myform action="?a=setup3" method="post">
<input name="setup" type="hidden" value="{^setup}">
<div id='installbox'>
	<div class='msgtitle'>
		<h1 class="logo_install">安装</h1>
		<div class="version">{$sys_name} - {$sys_ver}</div>
	</div>
	<table border="0" cellpadding="0" cellspacing="0" id="table" class="table2">
		<tr>
			<td>
				<span class="install_1">1. 许可协议</span>
				<span class="install_2">2. 环境检测</span>
				<span class="install_3">3. 数据库设置</span>
				<span class="install_4">4. 安装完成</span>
			</td>
		</tr>
	</table>
    <h3> 服务器环境检测： </h3>
    <table border="0" cellpadding="0" cellspacing="0" id="table2">
      <tr>
        <td width="33%" bgcolor="#deeff9"><strong> 需开启的变量或函数 </strong></td>
        <td width="33%" bgcolor="#deeff9"><strong> 要求 </strong></td>
        <td width="34%" bgcolor="#deeff9"><strong> 当前环境 </strong></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td> allow_url_fopen </td>
        <td> On </td>
        <td> {if allow_url_fopen}<span style="color:green">[√]</span>{else}<span style="color:red">[×]</span>{/if} </td>
      </tr>
      <tr bgcolor="#deeff9">
        <td> safe_mode </td>
        <td>Off</td>
        <td> {if $not_safe_mode}<span style="color:green">[√]</span>{else}<span style="color:red">[×]</span>{/if} </td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td> GD 支持 </td>
        <td> On <span style="color:#999"> (>=2.0.34) </span></td>
        <td> {if $gd_ver}<span style="color:green">[√]</span>{$gd_ver}{else}<span style="color:red">[×]</span>不支持{/if} </td>
      </tr>
      <tr bgcolor="#deeff9">
        <td> MySQL 支持 </td>
        <td> On </td>
        <td> {if $mysql}<span style="color:green">[√]</span>{else}<span style="color:red">[×]</span>不支持{/if} 
      </tr>
      <tr bgcolor="#FFFFFF">
        <td> PHP版本 </td>
        <td> On <span style="color:#999"> (>=5.0) </span></td>
        <td> {if PHP_VERSION > 5.0}<span style="color:green">[√]</span>{echo PHP_VERSION}{else}<span style="color:red">[×]</span>不支持{/if} </td>
      </tr>
    </table>
    <h3> 目录权限检测： </h3>
    <table border="0" cellpadding="0" cellspacing="0" id="table2">
      <tr bgcolor="#deeff9">
        <td width="33%"><strong> 目录名 </strong></td>
        <td width="33%"><strong> 读取权限 </strong></td>
        <td width="34%"><strong> 写入权限 </strong></td>
      </tr>
      <!--{foreach $dirStatus as $key => $val}-->
      <tr>
        <td>{$key}</td>
        <td>{if $val.read}<span style="color:green">[√]</span>{else}<span style="color:red">[×]</span>不可写{/if} 
        <td>{if $val.write}<span style="color:green">[√]</span>{else}<span style="color:red">[×]</span>不可读{/if}</td>
      </tr>
      <!--{/foreach}-->
      <tr bgcolor="#FFFFFF" class="tb_head">
        <td height="70" colspan="3" align="center">
		<input type="button" class="btn" value="<< 上一步" onClick="history.back();" />
		<input type="submit" name="submit" value="下一步 >>" class="btn" style="margin-left:10px;">
		</td>
      </tr>
    </table>
  </div>
</form>
</body>
</html>